#!/usr/bin/gnuplot

#set terminal post eps 24
set terminal post color 24

# read bytes (KB) 
set output "rb.eps"
set xlabel "time"
set ylabel "read bytes (KB/s)"

plot "1.dat" using 1:2 with impulses 

# write bytes (MB) 
set output "wb.eps"
set xlabel "time"
set ylabel "write bytes (KB/s)"

plot "1.dat" using 1:3 with impulses

# total virtual mem (MB) 
set output "wm.eps"
set xlabel "time"
set ylabel "virtual mem (MB)"

plot "1.dat" using 1:4 with impulses

# mem (MB)
set output "m.eps"
set xlabel "time"
set ylabel "real mem (MB)"

plot "1.dat" using 1:5 with impulses

# cpu 
set output "cpu.eps"
set xlabel "time"
set ylabel "CPU perceptage (%)"

plot "1.dat" using 1:6 with impulses

